home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
c_wndw.arc
/
ACCEPT3.C
< prev
next >
Wrap
Text File
|
1990-01-28
|
512b
|
20 lines
/* (c) Marietta Systems, Inc. 1987
* All rights reserved
*
* demonstration program for accept function
*/
#include "mtest.h"
void main() {
int m = 0, x = 2, z1;
byte text[41];
clr_scrn("Accept test - 3");
text[0] = 0;
display("Enter column of centered strings of increasing size",
1, 1, high);
for (z1 = 10 ; z1 < 41 && !m ; z1++, x++) {
set_crsr(x, 10);
m = accept(text, center, alt_reverse, z1, 0);
}
goodbye(0);
}